<template>
  <div>
    <div class="frac c65 f28 bgff tabbar">
      <span class="tc tabbar-item" v-for="(item, index) in topBarText" :key="index" v-text="item"></span>
    </div>
  </div>
</template>

<script>
export default {
  props: ['topBarText']
}
</script>

<style lang="stylus" scoped>
@import '~common/stylus/variable.styl'
.tabbar
  height .96rem
  line-height .96rem
  border-bottom 1px solid #EBEBEB
.tabbar-item
  flex-grow 1
  height .96rem
  &.active
    color $coupon-color
    border-bottom 1px solid $coupon-color
</style>
